﻿{__NOLAYOUT__}  <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>打印顺丰</title>
        <style>
           .fisedk  td {
                font-size: 13px;
                width: 59%;
            }
            
           .fisedk tr {
                height: 25px;
                line-height: 25px;
                width:
            }
			.svb tr{
				height:20px;
				 font-size: 13px;
			}
        </style>
    </head>
    <body topmargin="0" leftmargin="0">
        <div style="width:400px;margin-left:1px;">
        <volist name="ases" id="sf">
        <table class="fisedk" width="380px"  cellspacing="0" cellpadding="0">
            <tr>
    <td height="30" valign="top">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
            <tr>
                <td>
                    &nbsp;&nbsp;&nbsp;&nbsp;联酷网络科技有限公司
                </td>
                <td>
                    &nbsp;&nbsp;联酷云采购
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;&nbsp;&nbsp;400-833-3818
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td width="100%" colspan='2' height='35px'>
                    &nbsp;&nbsp;&nbsp;深圳市福田区华强北桑达雅苑13甲A
                </td>
            </tr>
	            <tb>
	            </tb>
	            <tb>
	            </tb>
            <tr>
                <td height='35px'>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7550701821
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td height="40px">
                    &nbsp;&nbsp;&nbsp;
                </td>
                <td>
                    {$sf['address']['consignee']}
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;&nbsp;&nbsp;{$sf['address']['tel']}
                </td>
                <td>
                    {$sf['address']['mobile']}
                </td>
            </tr>
            <tr>
                <td width="100%" colspan='2' height='40px' style="line-height: 20px;">
                    &nbsp;&nbsp;&nbsp;{$areaall[$sf['address']['province']]['name']}{$areaall[$sf['address']['city']]['name']}{$areaall[$sf['address']['district']]['name']}{$sf['address']['address']}
                </td>
            </tr>
            <tr>
                <td>
                    
                </td>
                <td>
                </td>
            </tr>
			</table>
			<table width="560px"   class='svb'>
            <tr >
                <td rowspan="2"  width="200px">
                       <PHP>
					      $sj=0;$sA='';
					      $ssj='';
					      	if($sf['count_num']>0){
					        $sj=$sf['count_num'];
					        $sA=$sj."件";
					        $ssj="订单";
					        //echo "<script>alert('".$ssj."');</script>";
					        }
					        else {
					        $sA="";
					        $ssj="";
					        }
							
							$totalnum = 0;
							foreach($sf['goods'] as $vo){
								 $totalnum += $vo['number'];
							}
							$sA=$totalnum."件";
					      </PHP>
						  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{if $sf['ids']}{$sf.ids}{else}{$sf['id']}{/if}&nbsp;
						  <php>
						  	if($sf['ids']){
						  	$arrids = explode(',', $sf['ids']);
							foreach($arrids as $id){
								if($coupon[$id] == 1){
									echo '免邮';
									break;
								}
							
							}
						  
						  }else{
						  	if($coupon[$sf['id']]==1){
							echo '免邮';
							}
						  }
						  
						  </php>
						  
						 &nbsp;{$ssj}
                </td>
                <td rowspan="2" width="170px">
                    ￥ {$sf['amount']/100|number_format=###,2}
                </td>
				<td >
                    联酷云采购
                </td>
            </tr>
			 <tr>
				<td>
					&nbsp;&nbsp;&nbsp;<php>echo date('Y-m-d'); </php>
                </td>
            </tr>
            <tr>
                <td>
                    {$sA}
                </td>
                <td>
                </td>
				<td>
					需本人当面验货签收
                </td>
            </tr>
        </table>
        </volist>
        </div>
    </body>
</html>
